package com.xiaoquan.gulimall.cart.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @authro dxq
 * @date 2021年07月06日 20:25
 */
@ConfigurationProperties(prefix = "gulimall.thread")
@Component
@Data
public class ThreadPoolConfigProperties {
    // 自定义配置属性
    private Integer coreSize;
    private Integer maxSize;
    private Integer keepAliveTime;
}
